#include "AudioManager.h"
#include "AudioWrapperOpenAL.h"

namespace Wrapper
{
	const int
		TYPE_DEFAULT = 0,
		TYPE_OPENAL = 1;
}

AudioWrapper* AudioManager::CreateAudioWrapper() {
	using namespace Wrapper;
	return AudioManager::CreateAudioWrapper(TYPE_DEFAULT);
}

AudioWrapper* AudioManager::CreateAudioWrapper(const int iType) {
	switch (iType) {
		using namespace Wrapper;
		case TYPE_OPENAL:
		case TYPE_DEFAULT:
		default:
			return new AudioWrapperOpenAL();
	}
}
